package java12;

public class code07805 {

	public static void main(String[] args) {
		int n =10;
		
		for(int i=0;i<n;i++){
			System.out.print(" ");
			for(int j=1;j<=n-i+1;j++){
				System.out.print(" ");
			}
			for(int j=1;j<=i*2-1;j++){
				System.out.print("*");
			}
			System.out.println();
		}
		for(int i=0;i<n;i++){
			System.out.print(" ");
			for(int j=1;j<=i+1;j++){
				System.out.print(" ");
			}
			for(int j=1;j<=n*2-1-i*2;j++){
				System.out.print("*");
			}
			System.out.println();
		}
	}

}
